package com.wsz.matching;

import com.wsz.matching.service.impl.MatchingServerImpl;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@EnableDiscoveryClient
@EnableFeignClients
@ComponentScan("com.wsz")
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class MatchingApplication {
    public static void main(String[] args) {
        MatchingServerImpl.matching.start();
        SpringApplication.run(MatchingApplication.class,args);
    }
}
